/*
 * Stok3d - getting you stoked on Flash Player native 3D
 * Copyright (C) 2009  David Lenaerts
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * Author information:
 * David Lenaerts
 * url: http://www.derschmale.com
 * mail: david.lenaerts@gmail.com
 * 
 */
package com.derschmale.stok3d.filters
{
	import flash.display.DisplayObject;
	
	/**
	 * IFilter3D provides an interface for all Stok3d pixel shader filters.
	 */
	public interface IFilter3D
	{
		/**
		 * Updates the filter according to the target's matrix3D.
		 * This function needs to be called whenever the target displayObject changes position, rotation or scale.
		 * 
		 * @param target The DisplayObject for which the shader needs to be updated.
		 */
		function update(target : DisplayObject) : void;
	}
}